<template>
    <div>
        <Notice :list="noticeList" :base-url="baseUrl"></Notice>
    </div>
</template>

<script>
    import { getNewsInfo } from '../../api/news';
    import Notice from '../common/Notice';
    export default {
        components:{Notice},
        name: "LeaveMessage",
        data(){
            return{
                form:{},
                baseUrl:'',
                noticeList:[],
            }
        },
        created() {
            this.getData();
        },
        methods:{
            getData(){
                getNewsInfo({pageNum:1,pageSize:100,type:1}).then(res =>{
                    this.noticeList = res.data.list;
                    this.baseUrl = res.baseUrl;
                })
            },
        }
    }
</script>

<style scoped>
    .whisper-content {
        padding: 40px 0 100px 0;
    }
    div {
        display: block;
    }
    .whisper-content .cont {
        max-width: 800px;
        margin: 0 auto;
    }
    .w1000 {
        max-width: 1000px!important;
        margin: 0 auto;
    }
    blockquote, body, button, dd, div, dl, dt, form, h1, h2, h3, h4, h5, h6, input, li, ol, p, pre, td, textarea, th, ul {
        margin: 0;
        padding: 0;
        -webkit-tap-highlight-color: rgba(0,0,0,0);
    }
    .leacots-content .item-box {
        background: transparent;
    }
    .leacots-content .review-version {
        padding: 0;
        border-top: 0;
    }
    .leacots-content .review-version .banner-img {
        float: none;
        /*width: 100%;*/
    }
    img {
        border: none;
    }
    .layui-btn, .layui-edge, .layui-inline, img {
        vertical-align: middle;
    }
    .layui-inline, img {
        display: inline-block;
        vertical-align: middle;
    }
    .leacots-content .review-version .form {
        margin: 70px 0;
    }
    form {
        display: block;
        margin-top: 0em;
    }
    .leacots-content .review-version .form .layui-form-item {
        clear: both;
    }
    .layui-form-item {
        margin-bottom: 15px;
        clear: both;
        *zoom: 1;
    }
    .leacots-content .review-version .form .layui-input-block {
        margin-left: 0;
    }
    .layui-input-block {
        margin-left: 110px;
        min-height: 36px;
    }
    .layui-form-label, .layui-form-mid, .layui-form-select, .layui-input-block, .layui-input-inline, .layui-textarea {
        position: relative;
    }
    .leacots-content .review-version .form textarea {
        border-color: #402760;
    }
    .layui-textarea {
        min-height: 100px;
        height: auto;
        line-height: 20px;
        padding: 6px 10px;
        resize: vertical;
    }
    .layui-input, .layui-textarea {
        display: block;
        width: 100%;
        padding-left: 10px;
    }
    .layui-input, .layui-select, .layui-textarea {
        height: 38px;
        line-height: 1.3;
        line-height: 38px\9;
        border-width: 1px;
        border-style: solid;
        background-color: #fff;
        border-radius: 2px;
    }
    .layui-form-label, .layui-form-mid, .layui-form-select, .layui-input-block, .layui-input-inline, .layui-textarea {
        position: relative;
    }
    .layui-form-item:after {
        content: '\20';
        clear: both;
        *zoom: 1;
        display: block;
        height: 0;
    }
    .leacots-content .review-version .form .layui-form-item {
        clear: both;
    }
    .layui-form-item {
        margin-bottom: 15px;
        clear: both;
        *zoom: 1;
    }
    .leacots-content .review-version .form .layui-input-block {
        margin-left: 0;
    }
    .layui-input-block {
        margin-left: 110px;
        min-height: 36px;
    }
    .content .review-version .form .layui-input-block .layui-btn {
        width: 100px;
        height: 40px;
        line-height: 40px;
        background: #ff7f21;
    }
    .layui-btn {
        display: inline-block;
        height: 38px;
        line-height: 38px;
        padding: 0 18px;
        background-color: #009688;
        color: #fff;
        white-space: nowrap;
        text-align: center;
        font-size: 14px;
        border: none;
        border-radius: 2px;
        cursor: pointer;
    }
    .layui-btn, .layui-input, .layui-select, .layui-textarea, .layui-upload-button {
        outline: 0;
        -webkit-appearance: none;
        transition: all .3s;
        -webkit-transition: all .3s;
        box-sizing: border-box;
    }
    .layui-btn, .layui-edge, .layui-inline, img {
        vertical-align: middle;
    }
    button, input, optgroup, option, select, textarea {
        font-family: inherit;
        font-size: inherit;
        font-style: inherit;
        font-weight: inherit;
        outline: 0;
    }
    .layui-form-item:after {
        content: '\20';
        clear: both;
        *zoom: 1;
        display: block;
        height: 0;
    }
    .leacots-content .review-version .volume {
        color: #3f2469;
    }
    .leacots-content .review-version .volume span {
        padding-left: 30px;
        color: #f37d25;
    }
    .leacots-content .review-version .list-cont .cont {
        max-width: 100%;
    }
    .content .review-version .list-cont .cont {
        padding: 40px 0 30px 0;
        border-bottom: 1px solid #e5e5e5;
    }
    .whisper-content .cont {
        max-width: 800px;
        margin: 0 auto;
    }
    .content .review-version img {
        float: left;
    }
    img {
        border: none;
    }
    .layui-btn, .layui-edge, .layui-inline, img {
        vertical-align: middle;
    }
    .layui-inline, img {
        display: inline-block;
        vertical-align: middle;
    }
    .content .review-version .list-cont .cont .text {
        padding-left: 70px;
        line-height: 22px;
        color: #333;
    }
    .content .review-version .list-cont .cont .text .tit {
        margin-bottom: 18px;
    }
    p {
        display: block;
        margin-block-start: 1em;
        margin-block-end: 1em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
    }
    .content .review-version .list-cont .cont .text {
        padding-left: 70px;
        line-height: 22px;
        color: #333;
    }
    .leacots-content .review-version .list-cont .cont {
        max-width: 100%;
    }
    .content .review-version .list-cont .cont {
        padding: 40px 0 30px 0;
        border-bottom: 1px solid #e5e5e5;
    }
    .whisper-content .cont {
        max-width: 800px;
        margin: 0 auto;
    }
    .content .review-version img {
        float: left;
    }
    img {
        border: none;
    }
    .layui-btn, .layui-edge, .layui-inline, img {
        vertical-align: middle;
    }
    .layui-inline, img {
        display: inline-block;
        vertical-align: middle;
    }
    .content .review-version .list-cont .cont .text {
        padding-left: 70px;
        line-height: 22px;
        color: #333;
    }
    .content .review-version .list-cont .cont .text .tit {
        margin-bottom: 18px;
    }
    .content .review-version .list-cont .cont .text .data {
        float: right;
    }
    div {
        display: block;
    }
    .layui-inline, img {
        display: inline-block;
        vertical-align: middle;
    }
    .commentImg{
        width: 50px;
        height: 50px;
    }

</style>
